.class public Lrexsee/core/browser/clazz/GestureListener;
.super Ljava/lang/Object;
.source "GestureListener.java"

# interfaces
.implements Landroid/view/GestureDetector$OnDoubleTapListener;
.implements Landroid/view/GestureDetector$OnGestureListener;


# instance fields
.field private final mBrowser:Lrexsee/core/browser/Browser;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 0
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 15
    iput-object p1, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    .line 16
    return-void
.end method


# virtual methods
.method public onDoubleTap(Landroid/view/MotionEvent;)Z
    .locals 2
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 20
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    sget-object v1, Lrexsee/core/browser/clazz/TouchEventInfo;->EVENT_DOUBLECLICK:Ljava/lang/String;

    invoke-virtual {v0, v1, p1}, Lrexsee/core/browser/clazz/TouchEventInfo;->basicAssignment(Ljava/lang/String;Landroid/view/MotionEvent;)V

    .line 21
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onDoubleClick"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    .line 22
    const/4 v0, 0x0

    return v0
.end method

.method public onDoubleTapEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 26
    const/4 v0, 0x0

    return v0
.end method

.method public onDown(Landroid/view/MotionEvent;)Z
    .locals 1
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 34
    const/4 v0, 0x0

    return v0
.end method

.method public onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 3
    .param p1, "e1"    # Landroid/view/MotionEvent;
    .param p2, "e2"    # Landroid/view/MotionEvent;
    .param p3, "velocityX"    # F
    .param p4, "velocityY"    # F

    .prologue
    .line 38
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    sget-object v1, Lrexsee/core/browser/clazz/TouchEventInfo;->EVENT_FLING:Ljava/lang/String;

    iput-object v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->type:Ljava/lang/String;

    .line 39
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->x:I

    .line 40
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->y:I

    .line 41
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->x2:I

    .line 42
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->y2:I

    .line 43
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getDownTime()J

    move-result-wide v1

    iput-wide v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->downTime:J

    .line 44
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getEventTime()J

    move-result-wide v1

    iput-wide v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->eventTime:J

    .line 45
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-static {p3}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->velocityX:I

    .line 46
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-static {p4}, Ljava/lang/Math;->round(F)I

    move-result v1

    iput v1, v0, Lrexsee/core/browser/clazz/TouchEventInfo;->velocityY:I

    .line 47
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onFling"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    .line 48
    const/4 v0, 0x0

    return v0
.end method

.method public onLongPress(Landroid/view/MotionEvent;)V
    .locals 2
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 52
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    sget-object v1, Lrexsee/core/browser/clazz/TouchEventInfo;->EVENT_LONGPRESS:Ljava/lang/String;

    invoke-virtual {v0, v1, p1}, Lrexsee/core/browser/clazz/TouchEventInfo;->basicAssignment(Ljava/lang/String;Landroid/view/MotionEvent;)V

    .line 53
    iget-object v0, p0, Lrexsee/core/browser/clazz/GestureListener;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onLongPress"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;)V

    .line 54
    return-void
.end method

.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1
    .param p1, "e1"    # Landroid/view/MotionEvent;
    .param p2, "e2"    # Landroid/view/MotionEvent;
    .param p3, "distanceX"    # F
    .param p4, "distanceY"    # F

    .prologue
    .line 57
    const/4 v0, 0x0

    return v0
.end method

.method public onShowPress(Landroid/view/MotionEvent;)V
    .locals 0
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 61
    return-void
.end method

.method public onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
    .locals 1
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 30
    const/4 v0, 0x0

    return v0
.end method

.method public onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 1
    .param p1, "e"    # Landroid/view/MotionEvent;

    .prologue
    .line 64
    const/4 v0, 0x0

    return v0
.end method
